<template>
  <div id="right">
    <div class="search">
      <div class="left">
        <el-button type="success" @click="$router.push('/healthcreate')">健康卡注册(申领)</el-button>
      </div>
      <div class="right"></div>
    </div>
    <el-table height="300" :data="data" stripe highlight-current-row border :header-cell-style="{backgroundColor:'#DCDFE6',color:'#333'}">
      <el-table-column fixed prop="userName" label="姓名" width="100" />
      <el-table-column prop="gender" label="性别" width="60" align="center">
        <template slot-scope="s">{{s.row.gender===1?'男':'女'}}</template>
      </el-table-column>
      <el-table-column prop="papersNumber" label="身份证号" width="180" align="center" />
      <el-table-column prop="mobileNumber" label="手机号码" width="160" align="center" />
      <el-table-column prop="nation" label="民族" width="160" align="center" />
      <el-table-column prop="address" label="家庭地址" align="right" />
    </el-table>
  </div>
</template>
<script>
export default {
  name: 'healthlist',
  data() {
    return {
      MobileNumber: '',
      UserName: '',
      PapersNumber: '',
      pageIndex: 1,
      dataCount: 0,
      data: [
        {
          "registerName": "超级管理员",
          "userName": "李承晚",
          "papersType": "身份证",
          "papersNumber": "110101********6130",
          "mobileNumber": "137****4190",
          "gender": 1,
          "nation": "朝鲜族",
          "address": "河南",
          "healthCardNumber": "20200601090345877276253529332008"
        },
        {
          "registerName": "超级管理员",
          "userName": "程俊杰",
          "papersType": "身份证",
          "papersNumber": "360103********5435",
          "mobileNumber": "189****5796",
          "gender": 1,
          "nation": "汉族",
          "address": "南昌",
          "healthCardNumber": "C1823F4C36EEA9E05BD8698543CC224DCBC17E6F801F09151CAED2E111D0AE2D:1::3602A0015"
        },
        {
          "registerName": "超级管理员",
          "userName": "杨侃",
          "papersType": "身份证",
          "papersNumber": "360102********0016",
          "mobileNumber": "181****1012",
          "gender": 1,
          "nation": "侗族",
          "address": "南昌",
          "healthCardNumber": "1ED0E8AE23C8ECB5B7C434F180548D91D867462EE07839CB59E1B1F34702A89E:1::3602A0015"
        },
        {
          "registerName": "超级管理员",
          "userName": "程俊杰",
          "papersType": "身份证",
          "papersNumber": "360103********5435",
          "mobileNumber": "189****5796",
          "gender": 1,
          "nation": "汉族",
          "address": "南昌",
          "healthCardNumber": "C1823F4C36EEA9E05BD8698543CC224DCBC17E6F801F09151CAED2E111D0AE2D:1::3602A0015"
        },
        {
          "registerName": "超级管理员",
          "userName": "樊荣斌",
          "papersType": "身份证",
          "papersNumber": "360121********3971",
          "mobileNumber": "189****9175",
          "gender": 1,
          "nation": "汉族",
          "address": "南昌象湖",
          "healthCardNumber": "4955D381AF3973257BBE5E40B98907429D3D40E82159C823DCF98D2A79339F5C:1::3602A0015"
        }
      ]
    };
  },
  mounted() {

  },
  methods: {

    pageGo(index) {
      this.pageIndex = index
      this.getList()
    }
  },
  components: {},
  watch: {},
  props: {},
  computed: {},
  //组件销毁事件
  destroyed() { }
};
</script>